package com.example.comment_oa.pojos.rear;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName details
 */
@TableName(value ="details")
@Data
public class Details implements Serializable {
    /**
     * 采购详情id
     */
    @TableId(value = "details_id", type = IdType.AUTO)
    private Integer detailsId;

    /**
     * 采购订单编号
     */
    @TableField(value = "pos_no")
    private String posNo;

    /**
     * 仓库物品编号
     */
    @TableField(value = "entrepot_id")
    private String entrepotId;

    /**
     * 物品名称
     */
    @TableField(value = "details_name")
    private String detailsName;

    /**
     * 物品数量
     */
    @TableField(value = "details_amount")
    private Integer detailsAmount;

    /**
     * 物品金额
     */
    @TableField(value = "details_sum")
    private Double detailsSum;

    /**
     * 物品类别编号
     */
    @TableField(value = "details_code_id")
    private Integer detailsCodeId;

    /**
     * 物品单位编号
     */
    @TableField(value = "details_unity_id")
    private Integer detailsUnityId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}